<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link href="<?php echo base_url(); ?>css/admincp.css" type="text/css" rel="stylesheet" />
    <script src="<?php echo base_url(); ?>script/jquery-1.6.2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="<?php echo base_url(); ?>script/jadmin.js"></script>
</head>
<body>
    <div id="search">
        <span class="s-title">Tìm kiếm video</span><br>
        <form action="" method="post">
            <label>Thông tin cần tìm:</label>
            <input type="text" size="50" name="keywords" />
            <input type="submit" name="search" value="Tìm kiếm"/>
        </form>
    </div>
<ol>
<?php
if(isset($movieList))
    foreach($movieList as $movie):
        $movie_name = $movie['movie_name'];
        $year = $movie['movie_year'];
        $movieID = $movie['movie_id'];
        $edit = base_url().'admincp/movie/update/'.$movieID.'/update.html';
        echo "<li style=\"height:25px;line-height:25px;\">
                <a href=\"$edit\"><img src=\"" . base_url() . "images/b_edit.png\" alt=\"\"></a>
                <a href=\"\"><img src=\"" . base_url() . "images/b_drop.png\" alt=\"\"></a>
                <a style=\"cursor:pointer;\" onclick=\"addMovieChoice($movieID);\" ><img width='25px' height='25px' src=\"" . base_url() . "images/addchoice.gif\" alt=\"\"></a>
                <span>$movie_name - Phát hành: $year</span>
            </li>";
    endforeach;

?>
</ol>
</body>
</html>
